package edu.gdkm.collection;

import java.io.IOException;

public class TestSet {
    public static void main(String[] args) throws IOException {
        StudentManagerBySet sms = new StudentManagerBySet();
        sms.init();
        Student student = new Student();
        student.setSname("张三");
        student.setSnumber("23060201288");
        sms.addStudent(student);
//        sms.printStudents();
        System.out.println(sms.findStudentBySnumber("23060201284"));
    }
}
